<?php
session_start();
$_SESSION['captcha']=rand(100,999);


			$im=imagecreatefromjpeg("fonts/b.jpg");
			$font_color = imagecolorallocate($im, 255, 0, 0);
   			imagettftext($im,50,2,20, 50, $font_color,"fonts/BARBAPA.TTF",$_SESSION['captcha']);
		
		header('Expires: Sat, 17 May 3000 05:00:00 GMT'); 
		header('Cache-Control: no-store, no-cache, must-revalidate'); 
		header('Cache-Control: post-check=0, pre-check=0', FALSE); 
		header('Pragma: no-cache');
		header("Content-Type: image/jpeg");
		imagejpeg($im, null, 90);
		
 
  


?>